package com.jwds.digital.bios.business.core.infrastructure.vo.basic;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
import java.util.List;

import com.jwds.digital.bios.business.core.infrastructure.entity.basic.BasicDict;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 *
 * @author 林柏云
 * @date 2024-10-24
 */
@Data
@ApiModel(value="BasicDict返回数据对象")
public class BasicDictRespVO  {

  @ApiModelProperty(value = "主键Id")
  private Long id;

  @ApiModelProperty(value = "字典项编码")
  private String itemCode;

  @ApiModelProperty(value = "字典项名称")
  private String itemName;

  @ApiModelProperty(value = "字典项值")
  private String itemValue;

  @ApiModelProperty(value = "字典项父级编码")
  private String parentCode;

  @ApiModelProperty(value = "排序")
  private Integer sort;

  @ApiModelProperty(value = "备注")
  private String remark;

  @ApiModelProperty(value = "创建人")
  private String createUser;

  @ApiModelProperty(value = "创建时间")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createTime;

  @ApiModelProperty(value = "修改人")
  private String modifyUser;

  @ApiModelProperty(value = "修改时间")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
  private LocalDateTime modifyTime;

  private Integer isDeleted;

  /***********扩展字段***************/

  private List<BasicDictRespVO> children;

}
